import { createApp } from 'vue'
import { createPinia } from 'pinia'
import "amfe-flexible"
import App from './App.vue'
import router from './router'
// 引入 Mock
import './Mock'

import './assets/styles/reset.css'

import { VueMasonryPlugin } from "vue-masonry";

import { Card, SubmitBar, RadioGroup, Radio, Toast, AddressList, AddressEdit, Dialog } from 'vant';
const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(VueMasonryPlugin)
app.use(Card).use(SubmitBar).use(RadioGroup).use(Radio).use(Toast).use(AddressList).use(AddressEdit).use(Dialog);
app.mount('#app')
